package com.market.member.service;

import com.block.common.bean.CommonParam;
import com.block.common.bean.SessionBean;
import com.block.common.model.dto.CommonReqDTO;
import com.block.common.model.dto.LoginReqDTO;
import com.block.common.vo.ResponseVo;
import com.block.db.entity.MemberLoginSession;
import com.baomidou.mybatisplus.extension.service.IService;
import com.market.member.model.dto.LoginResultDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2023-08-05
 */
public interface IMemberLoginSessionService extends IService<MemberLoginSession> {

    SessionBean loginSession(LoginResultDTO loginResultDTO, CommonParam commonParam);

    ResponseVo logout(SessionBean sessionBean);

    ResponseVo getToken(String token);

    Long getUidByToken(String token, String nowDate);
}
